package com.haoyun.common.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.util.AntPathMatcher;
import org.springframework.util.PathMatcher;

/**
 * Created by twg on 2018/5/28.
 * URL正则匹配
 */
@Configuration
public class PathMatcherConfig {

    @Bean
    public PathMatcher pathMatcher() {
        return new AntPathMatcher();
    }
}
